package com.swdegao.iot.netty.utils;

public class dcc_msg
{
  private String imei;
  private String name;
  private byte msg_type;
  private byte reserved;
  private int msg_len;
  public byte[] msg_body;
  private int socketstatus;
  public static final int IMEI_LEN = 15;
  public static final int DTU_NAME = 15;
  public static final int MAX_MSG_LEN = 1492;
  public static final byte DC_MSG_DATA = 0;
  public static final byte DC_MSG_GETSTATUS = 3;
  public static final byte DC_MSG_DISC_DTU = 8;
  public static final byte DC_MSG_ADD_DTU = 9;
  public static final byte DC_MSG_DEL_DTU = 15;
 

  public String getImei()
  {
    return this.imei;
  }
  public void setImei(String imei) {
    this.imei = imei;
  }
  public String getName() {
    return this.name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public byte getMsg_type() {
    return this.msg_type;
  }
  public void setMsg_type(byte msg_type) {
    this.msg_type = msg_type;
  }
  public byte getReserved() {
    return this.reserved;
  }
  public void setReserved(byte reserved) {
    this.reserved = reserved;
  }
  public int getMsg_len() {
    return this.msg_len;
  }
  public void setMsg_len(int msg_len) {
    this.msg_len = msg_len;
  }
  public byte[] getMsg_body() {
    return this.msg_body;
  }
  public void setMsg_body(byte[] msg_body) {
    this.msg_body = msg_body;
  }
  public static int getIMEI_LEN() {
    return 15;
  }
  public static int getDTU_NAME() {
    return 15;
  }
  public static int getMAX_MSG_LEN() {
    return 1492;
  }

  public int getSocketstatus() {
    return this.socketstatus;
  }
  public void setSocketstatus(int socketstatus) {
    this.socketstatus = socketstatus;
  }
}